import request from "./http";

// 用户主页
export function getUserInfo(userid:number):any{
    return request({
        url:"/user/"+userid,
        method:"get",
    })
}


// 用户粉丝
export function getUserFans(userid:number,params:any):any{
    return request({
        url:"/user/"+userid+"/followers",
        method:"get",
        params
    })
}

// 用户关注
export function getUserFollowees(userid:number,params:any):any{
    return request({
        url:"/user/"+userid+"/followees",
        method:"get",
        params
    })
}

// 用户视频
export function getUserArticles(userid:number):any{
    return request({
        url:"/user/"+userid+"/articles",
        method:"get",
    })
}
// 用户视频
export function getlikkk(userid:any):any{
    return request({
        url:"/article/"+userid,
        method:"get",
    })
}